/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tms.entity.NewTransport;
import com.jeeplus.modules.tms.mapper.NewTransportMapper;

/**
 * 运输计划Service
 * @author 李超辉
 * @version 2019-04-28
 */
@Service
@Transactional(readOnly = true)
public class NewTransportService extends CrudService<NewTransportMapper, NewTransport> {

	public NewTransport get(String id) {
		return super.get(id);
	}
	
	public List<NewTransport> findList(NewTransport newTransport) {
		return super.findList(newTransport);
	}
	
	public Page<NewTransport> findPage(Page<NewTransport> page, NewTransport newTransport) {
		return super.findPage(page, newTransport);
	}
	
	@Transactional(readOnly = false)
	public void save(NewTransport newTransport) {
		super.save(newTransport);
	}
	
	@Transactional(readOnly = false)
	public void delete(NewTransport newTransport) {
		super.delete(newTransport);
	}
	
}